<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/commons/taglibs.jsp"%>
<%@ include file="/static/commons/meta.jsp"%>
<%@ include file="/static/commons/ecside.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>${title}</title>
		<script type="text/javascript" src="${ctx}/static/scripts/check_all.js"></script>
		<script type="text/javascript">
			function init(){
			}
			function changeStyle(obj){
			  	ec_showContent(obj,"700px");
			}
		</script>
	</head>
	<body onload="init()">
			<ec:table items="list" var="v" title="" width="100%"
				retrieveRowsCallback="process" filterRowsCallback="process"
				maxRowsExported="1000" pageSizeList="15,30,50,all" useAjax="false"
				rowsDisplayed="15" sortable="false" filterable="false"
				resizeColWidth="true" classic="true" minHeight="200"
				excludeParameters="checkAll,ID_,id"
				toolbarContent="extend "
				action="${ctx}/taskAssign/getUser">
				<ec:row>
					<ec:column property="ID_"
						title="<input type='checkbox' name='checkAll' onclick='check_all(this.form,this.form.id)'>"
						style="text-align:center;width:34px;" sortable="false">
						<input type='checkbox' value='${v.id}||${v.type_name}||${v.type}||${v.name}' name='id' id="id"
							onclick="check_item(this.form,this.form.id)" <c:if test="${not empty v.flag}">checked="checked"</c:if> ></input>
					</ec:column>
					<ec:column property="id" title="编号" style="text-align:center;">${v.id}</ec:column>
					<ec:column property="type_name" title="类型" style="text-align:center;">${v.type_name}</ec:column>
					<ec:column property="name" title="名称">${v.name}</ec:column>
					<ec:column property="end_date" title="有效期" style="text-align:center;" >${v.end_date}</ec:column>
				</ec:row>
			</ec:table>
	</body>
</html>